﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using imaginecup.util;

namespace Imaginecup.gameState.btnStateUtil
{
    public class BtnInfo
    {
        private bool m_bEnable;
        private EntityInfo m_Info;

        public BtnInfo(){}
        public BtnInfo(EntityInfo info)
        {
            m_Info = info;
            m_bEnable = true;
        }
        public BtnInfo( EntityInfo info  , bool enable)
        {
            m_Info = info;
            m_bEnable = enable;
        }

        public void SetEnable(bool enable)
        {
            m_bEnable = enable;
        }
        public bool GetEnable()
        {
            return m_bEnable;
        }

        public void SetEntityInfo(EntityInfo info)
        {
            m_Info = info;
        }

        public EntityInfo GetEntityInfo()
        {
            return m_Info;
        }
    }
}
